<!doctype html>
<html lang="cn" xmlns:th="http://www.thymeleaf.org">
<head>
<script type="text/javascript" th:src="@{/static/js/jquery-1.11.3.js}"></script>
<meta charset="utf-8">
<title>用户激活</title>
</head>
<body>
<h3>[[${message}]]</h3>
<em><span id="jump"></span>秒后跳转到MyBlog登录页面..</em>
</body>
<script>
    var time = 3;
    var interval;
    onload = function(){
        $('#jump').html(time);
        interval = setInterval(jump, 1000);
    }
    function jump() {
        time--;
        if(time > 0)
            $('#jump').html(time);
        else
            clearInterval(interval);
            location.href = 'http://192.168.43.114:8080/loginnew/index';
    }
</script>
</html>
